package com.xinpu.service.impl;

import cn.hutool.cron.task.Task;
import com.xinpu.mapper.TaskMapper;
import com.xinpu.service.TaskService;
import com.xinpu.vo.SalesTaskVo;
import com.xinpu.vo.TaskNumVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TaskServiceImpl implements TaskService {
    @Autowired
    private TaskMapper taskMapper;


    @Override
    public List<SalesTaskVo> list(Integer id, String start) {
        return taskMapper.list(id, start);
    }

    @Override
    public List<TaskNumVo> taskNum(String tenantId) {
        return taskMapper.taskNum(tenantId);
    }
}
